function setOuterBox(){}
$(function () {
    console.log("编辑立项报告")

    var options = {
        language: config.clientLang,
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        minView: 2,
        format: 'yyyy-mm-dd',
        // endDate: new Date(),
    };
    $('.datepicker-date input#approvalDate,.datepicker-date input#beginDate,.datepicker-date input#endDate').fixedDate().datetimepicker(options);

});

$('#project').on('input',function () {
    $('.approvalProjectName').text($(this).val());
    // var link = createLink('approval', 'project', 'name=' + $(this).val());
    // $.getJSON(link, function(response){
    //     if(response.result == 'success') {
    //         alert(1);
    //     } else {
    //         alert(0);
    //     }
    // });
})
